<template>
  <div>
    <p>{{ name }}</p>
    <button @click="btnClick">按钮</button>
    <h2>{{ message }}</h2>
    <Cpn/>
  </div>
</template>

<script>
import Cpn from './Cpn'
export default {
  name: "app",
  components: {
    Cpn
  },
  data () {
    return {
      name: 'lwx',
      message: 'Hello World'
    }
  },
  methods: {
    btnClick () {
      console.log('ddd')
    }
  }
}
</script>

<style scoped>

</style>
